
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

    <!-- 满足有些用户在手机端访问的需要 -->

    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />

    <title>支付平台 - Bidcms开源电商</title>

        <link rel="stylesheet" href="<?php echo SITE_ROOT;?>statics/css/component-min.css">    <link rel="stylesheet" href="<?php echo SITE_ROOT;?>statics/plugins/jbox/jbox-min.css">


    <style>
        .packages{border-radius: 1px;  font-size: 13px;   padding: 4px 8px; background-color: #fff; border: 1px solid #ccc; width:220px;}
        .smscount{float:right; margin:20px;}
        .J-total{font-size:18px; color:#FF0000;}
    </style>


</head>
<body class="cp-bodybox">
<?php include VIEWS_PATH."global_top.php";?>

<div class="container">
    <div class="inner clearfix">
        <div class="content-left fl">
        <?php include VIEWS_PATH."global_nav.php";?>
        </div>
        <div class="content-right">
         
         <h1 class="content-right-title">支付平台</h1>
         <div class="alert alert-info" style="line-height: 25px; height:30px;">支付平台搜索：<input type="text" name="" id="" class="input"/><button class="btn btn-primary">搜索</button> <a href="javascript:;" data-id="0" class="btn btn-success mgl10 j-recharge">添加平台</a></div>


          <table width="100%" class="wxtables mgt15">
                <colgroup>
                    <col width="20%">
                    <col width="60%">
                    <col width="20%">

                </colgroup>
                <thead>
                <tr>
                    <td>平台名称</td>
                    <td>平台代码</td>
                    <td>操作</td>
                </tr>
                </thead>
              <tbody>
                <?php foreach($list as $item){?>
                <tr>
                    <td><?php echo $item['name'];?></td>
                    <td><?php echo $item['code'];?></td>
                  <td><a href="javascript:;" class="j-recharge" data-id="<?php echo $item['id'];?>" data-name="<?php echo $item['name'];?>" data-code="<?php echo $item['code'];?>">修改</a></td>
                </tr>
                <?php }?>
              </tbody>
          </table>

        </div>
        <!-- end content-right -->

        <a href="javascript:;" class="btn-leftMenuFold" id="j-btn-leftMenuFold" ></a>
    </div>
</div>
<!-- end container -->



<?php include VIEWS_PATH."global_footer.php";?>
<script type="text/j-template" id="tpl_recharge">
        <div class="formitems">
            <label class="fi-name">平台名称：</label>
            <div class="form-controls pdt5"><input type="text" id="name" value="<%= name %>" class="input"/></div>
        </div>
        <div class="formitems">
            <label class="fi-name">平台代码：</label>
            <div class="form-controls pdt3"><input type="text" id="code" value="<%= code %>" class="input"/>
                <span class="fi-help-text">唯一代码</span>
            </div>
        </div>
</script>
<!-- end tpl_recharge -->
<script src="<?php echo SITE_ROOT;?>statics/js/dist/System/payment.js"></script>
</body>
</html>
